package test.com.linkgie.galaxyframework.binaryserialize.types;

import com.linkgie.galaxyframework.binaryserialize.BinaryType;
import com.linkgie.galaxyframework.binaryserialize.BinaryField;
import com.linkgie.galaxyframework.binaryserialize.PrimitiveType;

@BinaryType(code=0x08, name="Array" , description="")
public interface Array {

    @BinaryField(index=1, primitiveType= PrimitiveType.INT32, iterable=true)
    int[] getScores();

    @BinaryField(index=2, primitiveType=PrimitiveType.TEXT, iterable=true)
    String[] getFeatures();

    @BinaryField(index=3, primitiveType=PrimitiveType.BYTES)
    byte[] getFamilyMemberAges();

    @BinaryField(index=4, primitiveType=PrimitiveType.INT64, iterable=true)
    long[] getFamilyMemberIds();

}